package net.goutalk.glcs.module.erpModel.caseErpMaterial.service;

import com.github.yulichang.base.MPJBaseService;
import net.goutalk.glcs.common.page.PageOutput;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.dto.MaterialHistoryPageDto;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.dto.StockCountDto;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.entity.CaseErpMaterial;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.vo.CaseErpInstoreLogVo;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.vo.CaseErpOutstoreLogVo;
import net.goutalk.glcs.module.erpModel.caseErpMaterial.vo.MaterialHistoryPageVo;

import java.util.List;

public interface ICaseErpMaterialService extends MPJBaseService<CaseErpMaterial> {
    String getCodeNumber();

    Boolean stockCount(StockCountDto dto);

    PageOutput<MaterialHistoryPageVo> getMaterialHistoryPage(MaterialHistoryPageDto dto);

    List<CaseErpInstoreLogVo>  checkMaterialInstore(String code);

    List<CaseErpOutstoreLogVo> checkMaterialOutStore(String code);
}
